<Windows:BookvarToolWindow
	x:Class="BookvarWpf.Windows.Collaboration.CollaborationUsersList"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:aw="clr-namespace:Assergs.Windows;assembly=Assergs.Windows"
	xmlns:awc="clr-namespace:Assergs.Windows.Controls;assembly=Assergs.Windows"
	xmlns:c="clr-namespace:Bookvar.UI.Converters;assembly=Bookvar.UI"
	xmlns:Windows="clr-namespace:BookvarWpf.Windows;assembly="
    xmlns:r="clr-namespace:Bookvar.UI.Localization;assembly=Bookvar.UI"
	Header="{r:Resources CollaborationUsersListHeaderText}"
	Icon= "pack://application:,,,/BookvarWPF;component/Resources/Icons/16x16/Darf16.png"
	Style="{DynamicResource {x:Type aw:ToolWindow}}"
  Height="150"
  Width="100"
    x:Name="window"
	>
    <Grid>
        <ListBox ItemsSource="{Binding Path=DataContext, ElementName=window}">
            <ListBox.Resources>
                <c:ColorToBrushConverter x:Key="colorConverter" />
            </ListBox.Resources>
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock FontSize="21" FontFamily="Colibri" Text="{Binding Name}" Foreground="{Binding UserColor, Converter={StaticResource colorConverter}}" />
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </Grid>
</Windows:BookvarToolWindow>
